import type { FC, ReactElement } from 'react';
import { View } from 'react-native';
import styles from './styles';

type CardProps = {
  children?: ReactElement;
}

const Card: FC<CardProps> = (props) => {
  const { children } = props;
  return (
    <View style={styles.card}>
      {children}
    </View>
  );
}

export default Card;